$:.unshift(File.dirname(__FILE__) + '/../../lib')
require 'cucumber/rake/task'

Cucumber::Rake::Task.new(:pretty) do |t|
  t.cucumber_opts = %w{--tags ~@intentional_failure --format pretty -q}
end

Cucumber::Rake::Task.new(:html) do |t|
  t.cucumber_opts = %w{--tags ~@intentional_failure --format html --out features.html}
end

task :default => [:html]